import { createRouter, createWebHistory } from 'vue-router'
import GameSelect from '../views/GameSelect.vue'
import MemoryGame from '../components/MemoryGame.vue'
import TreasureHuntDeluxe from '../components/TreasureHuntDeluxe.vue'
import UltimatePrairieArchery from '../components/UltimatePrairieArchery.vue'
import SnakeGame from '../components/SnakeGame.vue'
import RacingGame from '../components/RacingGame.vue'
import AdvancedTangPoetryGame from '../components/advanced-tang-poetry-game.vue'
import TrashSorting from '../components/TrashSorting.vue'
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/',
      name: 'home',
      component: GameSelect
    },
    {
      path: '/memory-game',
      name: 'memory-game',
      component: MemoryGame
    },
    {
      path: '/treasure-hunt',
      name: 'treasure-hunt',
      component: TreasureHuntDeluxe
    },
    {
      path: '/prairie-archery',
      name: 'prairie-archery',
      component: UltimatePrairieArchery
    },
    {
      path: '/snake-game',
      name: 'snake-game',
      component: SnakeGame
    }
    ,
    {
      path: '/racing-game',
      name: 'racing-game',
      component: RacingGame
    },
    {
      path: '/tang-poetry-game',
      name: 'TangPoetryGame',
      component: AdvancedTangPoetryGame
    },
    {
      path: '/TrashSorting',
      name: 'TrashSorting',
      component: TrashSorting
    }
  ]
})

export default router
